package com.example.springbootconfig;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: springboot1
 * @description:
 * @author: zhanghz001
 * @create: 2020-12-08 13:58
 **/
@RestController
public class HelloController {
    @RequestMapping("/hello")
    public String hello() {

        System.out.println("hello world");
        return "hello world";
    }
}
